import { MongoClient } from "mongodb";

export async function Db() {
    let res =  await MongoClient.connect("mongodb://localhost:27017/chat_sys")
    return res.db()
}
